package com.example.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.config.exception.GlobalExcetion;
import com.example.domain.BusFriendGroup;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.system.domain.PageData;

import java.util.Map;

/**
* @author CETC
* @description 针对表【bus_friend_group_1】的数据库操作Service
* @createDate 2025-11-05 09:04:57
*/
public interface BusFriendGroupService extends IService<BusFriendGroup> {

    public boolean getBusFriendGroup(String userId,String friendUserId) throws GlobalExcetion;

    public BusFriendGroup saveBusFriendGroup(BusFriendGroup busFriendGroup) throws GlobalExcetion;

    public BusFriendGroup getBusFriendGroupByUUID(String uuid) throws GlobalExcetion;

    public PageData<BusFriendGroup> pageBusFriendGroup(Page<BusFriendGroup> page, String uid) throws GlobalExcetion;

    public boolean deleteBusFriendGroup(String uuid) throws GlobalExcetion;

    public BusFriendGroup updateBusFriendGroup(BusFriendGroup busFriendGroup) throws GlobalExcetion;
}
